package com.lezhi.socialgram.service.sys;

import com.lezhi.socialgram.model.sys.OrderInfo;

import java.sql.SQLException;
import java.util.Date;
import java.util.List;


public interface OrderService {

	public void updateOrderByChargeId(OrderInfo orderInfo) throws SQLException;
	
	public void addOrder(OrderInfo orderInfo) throws SQLException;

	public OrderInfo selectOrderByChargeId(OrderInfo orderInfo) throws SQLException;
	
	public List<OrderInfo> getOrderListByTelNum(String telNum) throws SQLException;
	
	public List<OrderInfo> getSuccessOrderListByTelNum(String telNum) throws SQLException;
	
	public List<OrderInfo> getSuccessOrderListWithLimit(Date startDate) throws SQLException;
}
